-- GENERATED SPELL FOR [Nature's Blade] --


function spell0_33527(pUnit, Event) --@Living Tsunami,n/a--
pUnit:FullCastSpellOnTarget(63247,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_33527', 11500, 1)
end

function spell1_33527(pUnit, Event) --@Living Tsunami,n/a--
pUnit:FullCastSpellOnTarget(63568,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_33527', 7500, 1)
end

function Sorts_33527(pUnit, Event)
local choix_sorts_33527 = math.random(0, 1)
if choix_sorts_33527 == 0 then
pUnit:RegisterEvent('spell0_33527', 1, 1)
end
if choix_sorts_33527 == 1 then
pUnit:RegisterEvent('spell1_33527', 1, 1)
end
end

function mob33527_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_33527', math.random(1500, 3000), 1)
end

function mob33527_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob33527_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob33527_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(33527, 1, 'mob33527_Action')
RegisterUnitEvent(33527, 2, 'mob33527_Leave')
RegisterUnitEvent(33527, 3, 'mob33527_Kill')
RegisterUnitEvent(33527, 4, 'mob33527_Die')
